﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SaleOnlineSystem.Controls
{
    public partial class BoxSameProduct : System.Web.UI.UserControl
    {
        
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                DataTable dt = DAL.DCollector.DBCollector.Instance.StoredProcedureGetTableByID("tbl_Product", ProductDetail.id,
                                                                                   "selectorsameproduct");


                rpt_BoxSameProduct.DataSource = dt;
                rpt_BoxSameProduct.DataBind();
            }
        }

      
    }
}